.box {
  width: 100%;
  box-sizing: border-box;
  .head {
    width: 100%;
    position: fixed;
    z-index: 400;
    top: 0;
    display: flex;
    .back{
      width: 44px;
      background-color: $main-color;
      position: relative;
      .van-icon{
        position: absolute;
        font-size: 24px;
        right: 8px;
        top:calc(50% + 15px);
        transform: translateY(-50%);
        color:#ffffff;
        // margin-left:$padd
      } 
    }
    .van-cell {
      flex:1;
      background-color: $main-color;
      padding-left: 2px;
    }
    /deep/ .van-cell::after {
      border-bottom: none;
    }
    /deep/ .van-field__control {
      color: #ffffff;
      font-size: 18px;
      margin-top: 4px;
      padding-right: 24px;
      padding-top: 30px;
    }
    /deep/ .van-icon__image {
      width: 35px;
      height: 35px;
      // border-radius: 35px;
      margin-top: 30px;
    }
    /deep/ .van-field__right-icon {
      .van-icon__image {
        width: 20px;
        height: 20px;
        margin-top: 38px;
      }
    }
  }
  
  .content {
    position: absolute;
    z-index: 150;
    width: 100%;
    padding-top: 92px;
    padding-bottom: 66px;

    // 单号搜索
    @keyframes searchFun-css {
      from {
        height:0px;
      }
      to {
        height:56px;
      }
    }
    .animation_s{
      // height: 0px;
      animation: searchFun-css .5s;
      // https://www.imooc.com/article/255983
      animation-fill-mode: forwards;
    }
  
    .searchFun {
      height:0px;
      overflow: hidden;
     
      width: 100%;
      background-color: #ffffff;
      padding-left: $padd;
      padding-right: $padd;
      box-sizing: border-box;

      display: flex;
      flex-direction: row;
      margin-bottom: 5px;
      .searchField {
        flex-grow: 1;
        box-sizing: border-box;
        padding-top: 6px;
        padding-bottom: 6px;
        // padding: $padd;
        .van-cell {
          background-color: $background-color;

          // padding-top: 5px;
          // padding-bottom: 5px;
          // padding-left: 12px;
          box-sizing: border-box;
        }
        /deep/ .van-field__left-icon .van-icon,
        .van-field__right-icon .van-icon {
          font-size: 18px;
        }
      }
      .scan {
        width: 70px;
        height: 100%;
        position: relative;
        box-sizing: border-box;
        padding-top: 11px;
        // background-color: red;
        .scanBtn {
          position: absolute;
          right: $padd;
          width: 32px;
          height: 32px;
          background: url('../../assets/image/btn_scan.png') no-repeat center;
          background-size: contain;
        }
      }
    }
    .consignor_content {
      // margin-bottom: 6px;
      box-sizing: border-box;
      width: 100%;
      display: flex;
      flex-direction: row;
      .icon {
        width: 68px;
        box-sizing: border-box;
        padding-left: $padd;
        background-color: #ffffff;
        display: flex;
        flex-direction: column;
        .img {
          width: 30px;
          height: 30px;
          background: url('../../assets/image/icon_sent.png') no-repeat center;
          background-size: contain;
        }
        .top {
          flex: 1;
        }
        .end {
          flex: 1;
          position: relative;
          // padding-top: 2px;
          box-sizing: border-box;
          // width: 1px;
          // border-left: 1px dotted #cccccc;
          margin-left: 30%;
          overflow: hidden;
          .line {
            position: absolute;
            bottom: 0;
            width: 1px;
            height: 80%;
            border-left: 1px dashed #cccccc;
          }
        }
      }
      .con_address {
          border-bottom: 1px solid #eeeeee;
        flex: 1;
        .van-cell {
          box-sizing: border-box;
          padding-top: 22px;
          padding-bottom: 22px;
          padding-left: 0px;
          padding-right: 0px;
          
          display: block;
          position: relative;
          /deep/ .van-cell__title {
            // position: relative;
            display: flex;
            span {
              // 姓名
              font-weight: 800;
              font-size: 16px;
            }
            .van-cell__label {
              // 电话
              font-size: 14px;
              margin-left: 20px;
            }
          }
          /deep/ .van-cell__value {
            //地址
            font-size: 12px;
            text-align: left;
          }
        }
      }
      .book {
        width: 80px;
        position: relative;
        background-color: #ffffff;
          border-bottom: 1px solid #eeeeee;
        .book_icon {
          width: 30px;
          height: 30px;
          background: url('../../assets/image/home_btn_address.png') no-repeat center;
          background-size: contain;
          position: absolute;
          top: 50%;
          transform: translateY(-50%);
          right: $padd;
        }
        .book_icon::before {
          position: absolute;
          content: '';
          z-index: 200;
          width: 1px;
          height: 40px;
          left: -13px;
          top: -5px;
          background-color: #f2f2f2;
        }
      }
    }
    .receiver_content {
      box-sizing: border-box;
      width: 100%;
      display: flex;
      flex-direction: row;
      margin-bottom: 6px;
      .icon {
        width: 68px;
        box-sizing: border-box;
        padding-left: $padd;
        background-color: #ffffff;
        display: flex;
        flex-direction: column;
        .img {
          width: 30px;
          height: 30px;
          background: url('../../assets/image/icon_receive.png') no-repeat center;
          background-size: contain;
        }
        .top {
          flex: 1;
          // margin-bottom: 2px;
          box-sizing: border-box;
          // width: 1px;
          // border-left: 1px dotted #cccccc;
          margin-left: 30%;
          overflow: hidden;
          position: relative;
          .line {
            width: 1px;
            position: absolute;
            top: 0px;
            height: 80%;
            border-left: 1px dashed #cccccc;
          }
        }
        .end {
          flex: 1;
        }
      }
      .con_address {
        flex: 1;
        .van-cell {
          box-sizing: border-box;
          // border-bottom: 1px solid #eeeeee;
          padding-top: 22px;
          padding-bottom: 22px;
          padding-left: 0px;
          padding-right: 0px;
          display: block;
          position: relative;
          /deep/ .van-cell__title {
            // position: relative;
            display: flex;
            span {
              // 姓名
              font-weight: 800;
              font-size: 16px;
            }
            .van-cell__label {
              // 电话
              font-size: 14px;
              margin-left: 20px;
            }
          }
          /deep/ .van-cell__value {
            //地址
            font-size: 12px;
            text-align: left;
          }
        }
      }
      .book {
        width: 80px;
        position: relative;
        background-color: #ffffff;
        .book_icon {
          width: 30px;
          height: 30px;
          background: url('../../assets/image/home_btn_address.png') no-repeat center;
          background-size: contain;
          position: absolute;
          top: 50%;
          transform: translateY(-50%);
          right: $padd;
        }
        .book_icon::before {
          position: absolute;
          content: '';
          z-index: 200;
          width: 1px;
          height: 40px;
          left: -13px;
          top: -5px;
          background-color: #f2f2f2;
        }
      }
    }
    //配置
    .configuration {
      box-sizing: border-box;
      // padding-left: $padd;
      .van-cell {
        font-weight: 700;
        padding-top: 15px;
        padding-bottom: 15px;
      }
      /deep/ .van-cell__label {
        color: $main-color;
      }
      /deep/ .consignor {
        color: #ffffff;
        background-color: $main-color;
        border: $main-color;
        margin-right: 10px;
      }
      /deep/ .receiver {
        color: #eeeeee;
        background-color: #ffffff;
        border-color: #eeeeee;
        // margin-left: 10px;
        margin-right: 10px;
      }
      .deliveryType{
        bottom:61px;
        height: 340px;
        button{
          // padding-top: 10px;
          // padding-bottom: 10px;
          // border-bottom: 1px solid $main-color;
        }
       
        // z-index: 9999;
      }
    }
  }
  .errorBackground {
    top: 20%;

    width: 100%;
    height: 100px;
    position: fixed;
    z-index: 1;
    .backgroundIcon {
      //   background-color: red;
      position: relative;
      left: 50%;
      transform: translateX(-50%);
      width: 160px;
      height: 160px;
      background: url('../../assets/image/error_exception.png') no-repeat center;
      background-size: contain;
    }
    .err_text {
      text-align: center;
      color: #cccccc;
    }
  }
  .bottom {
    width: 100%;
    height: 60px;
    position: fixed;
    z-index: 600;
    bottom: 0;
    display: flex;
    .price {
      flex: 1;
      background-color: #ffffff;
      width: 100%;
      height: 100%;
      // line-height: 20px;
      box-sizing: border-box;
      padding-left: $padd;
      p {
      }
      .text {
        margin-top: 10px;
        margin-bottom: 2px;
        font-size: 12px;
        color: grey;
      }
      .price_li {
        margin-top: 4px;
        margin-bottom: 0;
        font-size: 16px;
        color: #dd1f1f;
        font-weight: 700;
      }
    }
    .subBtn {
      padding-right: $padd;
      flex: 1;
      width: 100%;
      height: 100%;
      text-align: center;
      line-height: 60px;
      font-size: 18px;
      color: #ffffff;
      background-color: $main-color;
    }
  }
}
